package com.application.room.manage;

import java.util.Date;
import java.util.TimerTask;

import org.apache.log4j.Logger;

public class RoomTimer extends TimerTask {
	private Logger logger = Logger.getLogger(this.getClass());
	@Override
	public void run() {
 
		 //System.out.println(new Date(System.currentTimeMillis()).toLocaleString());
 
			try {
				 RoomManage.update();
			} catch (Exception e) {
				logger.error("room check error",e);
				//e.printStackTrace();
			}
		 
	}

	 

}
